package com.leenmvc.core.dao.sqlServer;

import com.leenmvc.core.dao.communal.BaseDao;
import com.leenmvc.core.dao.communal.Wrapper;
import com.leenmvc.core.security.entity.core.SysRoleUser;

import java.util.List;
import java.util.Map;

/**
 * 在执行持久层方法之后对传入的数据进行处理
 *
 */
public class SqlServerAfterExcute implements BaseDao {

    @Override
    public <T> List<T> getPageList(Wrapper wrapper) {
        return null;
    }

    @Override
    public boolean deleteById(Class<?> cls, Object id) {
        if(SysRoleUser.class.equals(cls)) { // 如果是用户角色表修改的话

        } else {

        }
        return false;
    }

    @Override
    public int delete(Class<?> cls, Object... kvs) {
        return 0;
    }

    @Override
    public int deleteByIds(Class<?> cls, Object[] ids) {
        return 0;
    }

    @Override
    public <T> boolean remove(T cls) {
        return false;
    }

    @Override
    public <T> int batchRemove(List<T> list) {
        return 0;
    }

    @Override
    public <T> T get(Class<?> cls, Object id) {
        return null;
    }

    @Override
    public <T> T get(Class<?> cls, Object... kvs) {
        return null;
    }

    @Override
    public <T> List<T> getList(Class<?> cls, Object... kvs) {
        return null;
    }

    @Override
    public <T> List<T> getList(Class<?> cls, Map<String, Object> params) {
        return null;
    }

    @Override
    public <T> T get(Class<?> cls, Map<String, Object> params) {
        return null;
    }

    @Override
    public <T> List<T> getPageList(Class<?> cls, Integer... pageInfo) {
        return null;
    }

    @Override
    public <T> List<T> getPageList(Class<?> cls, Map<String, Object> conditions, Integer... pageInfo) {
        return null;
    }

    @Override
    public <T> List<T> getAll(Class<?> cls) {
        return null;
    }

    @Override
    public <T> List<T> query(Class<?> cls, String sql, Object... objects) {
        return null;
    }

    @Override
    public Map<String, Object> getMap(Class<?> cls, String sql, Object... objects) {
        return null;
    }

    @Override
    public List<Map<String, Object>> getListMap(Class<?> cls, String sql, Object... objects) {
        return null;
    }

    @Override
    public <T> boolean insert(T t) {
        return false;
    }

    @Override
    public <T> boolean insert(Class<?> cls, Map<String, Object> entityMap) {
        return false;
    }

    @Override
    public <T> boolean batchInsert(List<T> t) {
        return false;
    }

    @Override
    public <T> boolean saveOrUpdate(T t) {

        return false;
    }

    @Override
    public <T> boolean batchInsert(T[] ts) {
        return false;
    }

    @Override
    public <T> boolean update(T t) {
        return false;
    }

    @Override
    public <T> boolean update(Class<?> cls, Object id, Object... kv) {
        return false;
    }

    @Override
    public <T> int update(Class<?> cls, Map<String, Object> params) {
        return 0;
    }

    @Override
    public int count(Class<?> cls, Map<String, Object> params) {
        return 0;
    }

    @Override
    public int count(Class<?> cls, Object... kvs) {
        return 0;
    }

    @Override
    public int count(Class<?> cls) {
        return 0;
    }

    @Override
    public int count(Wrapper wrapper) {
        return 0;
    }

    @Override
    public <T> List<T> query(Wrapper wrapper) {
        return null;
    }

    @Override
    public <T> T get(Wrapper wrapper) {
        return null;
    }

    @Override
    public <T> T getOneField(Wrapper queryWrapper) {
        return null;
    }

    @Override
    public <T> List<T> oneFieldList(Wrapper queryWrapper) {
        return null;
    }

    @Override
    public Map<String, Object> getMap(Wrapper wrapper) {
        return null;
    }

    @Override
    public List<Map<String, Object>> getListMap(Wrapper wrapper) {
        return null;
    }

    @Override
    public int delByWrapper(Wrapper wrapper) {
        return 0;
    }

    @Override
    public int updateByWrapper(Wrapper wrapper) {
        return 0;
    }

    @Override
    public <T> List<T> listBySqlKey(Class<?> cls, String batisKey, Map<String, Object> params) {
        return null;
    }

    @Override
    public <T> T getBySqlKey(Class<?> cls, String id, Map<String, Object> params) {
        return null;
    }

    @Override
    public <T> List<T> listBySqlKey(Class<?> cls, String batisKey, Object params) {
        return null;
    }

    @Override
    public <T> T getBySqlKey(Class<?> cls, String id, Object params) {
        return null;
    }

    @Override
    public <T> List<T> listBySqlKey(Class<?> cls, String batisKey, Object... KVs) {
        return null;
    }

    @Override
    public <T> T getBySqlKey(Class<?> cls, String id, Object... KVs) {
        return null;
    }

}
